package com.ruhua.java.repository;

import com.ruhua.java.dao.Region;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface RegionRepository extends JpaRepository<Region,Long> {

    Region findOneById(Long id);
}


